-- GENERATED SPELL FOR [Blessed Banner of the Crusade] --


function spell0_30891(pUnit, Event) --@Blessing of the Crusade,Self--
pUnit:FullCastSpellOnTarget(58026,pUnit)
pUnit:RegisterEvent('Sorts_30891', 0, 1)
end

function Sorts_30891(pUnit, Event)
local choix_sorts_30891 = math.random(0, 0)
if choix_sorts_30891 == 0 then
pUnit:RegisterEvent('spell0_30891', 1, 1)
end
end

function mob30891_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30891', math.random(1500, 3000), 1)
end

function mob30891_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30891_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30891_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30891, 1, 'mob30891_Action')
RegisterUnitEvent(30891, 2, 'mob30891_Leave')
RegisterUnitEvent(30891, 3, 'mob30891_Kill')
RegisterUnitEvent(30891, 4, 'mob30891_Die')
